﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Security.Specs.DataLayer
{
    public interface IDatabaseCache
    {
        void Register<T>(Func<IEnumerable<T>> values) where T : class;
        void Invalidate<T>() where T : class;
        IEnumerable<T> GetCachedValues<T>() where T : class;
    }
}
